package com.carl.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author YuanRL
 * @version 1.0
 * @date 2025/3/13 9:47
 */
@Data
@TableName(value ="search_word_all")
public class SearchWordAll {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 时间
     */
    @TableField(value = "time")
    private Date time;

    /**
     * 搜索词语
     */
    @TableField(value = "word")
    private String word;
}
